package com.dba.example.gwt.client.views;

import com.dba.example.gwt.client.beans.Company;
import com.google.gwt.place.shared.Place;
import com.google.gwt.user.client.ui.IsWidget;

public interface CompanyEditView extends IsWidget {

	void setPresenter(Presenter presenter);
	
	void edit(Company company);

	boolean flush();

	public interface Presenter {
		
		void goTo(Place place);
		
		void save();
		
		void cancel();

	}

}
